package interfaces;

import java.io.IOException;


/**
 * the dependencies between the layers are one-direction usually, from up to bottom; the UI layer needs
 * to interface with the domain layer underneath, but not the other way around. so meanwhile almost no methods are
 * needed in the UI's interface. 
 * @author awarmanX
 *
 */
public interface UI {

/**
 * the Main program needs this method to have a starting page. the starting page should be some kind of
 * a menu with basic options - login as a member, login as a guest, etc...	
 * @throws IOException
 */
	public void showWelcomePage() throws IOException;

/**
 * the main program requires the UI to support this method	
 * @param hostname
 * @param port
 */
public void connect(String hostname, int port); 

}
